home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Utilities / Text / OzTeX 1.9 / Dvips / dvips / dvips.rsrc / TEXT_128_Info.txt < prev    next >
Encoding:
Text File  |  1995-01-29  |  13.6 KB  |  281 lines

  1.      Below is an adaptation of the Unix manual page for dvips.
  2.      It is a quick reference for the options of dvips, especially
  3.      if you run dvips in command mode. For a complete description
  4.      of dvips, see the manual dvips.tex.
  5.     
  6.      NAME
  7.           dvips - convert a TeX DVI file to PostScript
  8.  
  9.      SYNOPSIS
  10.           dvips [ options ] file[.dvi]
  11.  
  12.      DESCRIPTION
  13.           The program dvips takes a DVI file file[.dvi] produced by
  14.           TeX (or by some other processor such as GFtoDVI) and
  15.           converts it to PostScript.  Fonts used may either be
  16.           resident in the printer or defined as bitmaps in PK files,
  17.           or a `virtual' combination of both.  Dvips will automatically 
  18.           invoke METAFONT to generate fonts that don't already exist.
  19.  
  20.           For more information, see the manual dvips.tex.
  21.  
  22.      OPTIONS
  23.           -a   Conserve memory by making three passes over the .dvi
  24.                file instead of two and only loading those characters
  25.                actually used.  Generally only useful on machines with
  26.                a very limited amount of memory.
  27.  
  28.           -A   Print only odd pages (TeX pages, not sequence pages).
  29.  
  30.           -b num
  31.                Generate num copies of each page, but duplicating the
  32.                page body rather than using the #numcopies option.
  33.                This can be useful in conjunction with a header file
  34.                setting char92bop-hook to do color separations or other
  35.                neat tricks.
  36.  
  37.           -B   Print only even pages (TeX pages, not sequence pages).
  38.  
  39.           -c num
  40.                Generate num copies of every page.  Default is 1.  (For
  41.                collated copies, see the -C option below.)
  42.  
  43.           -C num
  44.                Create num copies, but collated (by replicating the
  45.                data in the PostScript file).  Slower than the -c
  46.                option, but easier on the hands, and faster than
  47.                resubmitting the same PostScript file multiple times.
  48.  
  49.           -d num
  50.                Set the debug flags.  This is intended only for
  51.                emergencies or for unusual fact-finding expeditions; it
  52.                will work only if dvips has been compiled with the
  53.                DEBUG option.  For more information on possible values
  54.                see section 15 of dvips.tex.
  55.  
  56.           -D num
  57.                Set the resolution in dpi (dots per inch) to num. This
  58.                affects the choice of bitmap fonts that are loaded and
  59.                also the positioning of letters in resident PostScript
  60.                fonts. Must be between 10 and 10000.  This affects both
  61.                the horizontal and vertical resolution.  If a high
  62.                resolution (something greater than 400 dpi, say) is
  63.                selected, the -Z flag should probably also be used.
  64.  
  65.           -e num
  66.                Make sure that each character is placed at most this
  67.                many pixels from its `true' resolution-independent
  68.                position on the page. The default value of this
  69.                parameter is resolution dependent.  Allowing individual
  70.                characters to `drift' from their correctly rounded
  71.                positions by a few pixels, while regaining the true
  72.                position at the beginning of each new word, improves
  73.                the spacing of letters in words.
  74.  
  75.           -E   makes dvips attempt to generate an EPSF file with a
  76.                tight bounding box.  This only works on one-page files,
  77.                and it only looks at marks made by characters and
  78.                rules, not by any included graphics.  In addition, it
  79.                gets the glyph metrics from the tfm file, so characters
  80.                that lie outside their enclosing tfm box may confuse
  81.                it.  In addition, the bounding box might be a bit too
  82.                loose if the character glyph has significant left or
  83.                right side bearings.  Nonetheless, this option works
  84.                well for creating small EPSF files for equations or
  85.                tables or the like.  (Note, of course, that dvips
  86.                output is resolution dependent and thus does not make
  87.                very good EPSF files, especially if the images are to
  88.                be scaled; use these EPSF files with a great deal of
  89.                care.)
  90.  
  91.           -F   Causes Control-D (ASCII code 4) to be appended as the
  92.                very last character of the PostScript file.  This is
  93.                useful when dvips is driving the printer directly
  94.                instead of working through a spooler, as is common on
  95.                extremely small systems.  NOTE! DO NOT USE THIS OPTION!
  96.  
  97.           -h name
  98.                Prepend file name as an additional header file.
  99.                (However, if the name is simply `-' suppress all header
  100.                files from the output.)  This header file gets added to
  101.                the PostScript userdict.
  102.  
  103.           -i   Make each section be a separate file.  Under certain
  104.                circumstances, dvips will split the document up into
  105.                `sections' to be processed independently; this is most
  106.                often done for memory reasons.  Using this option tells
  107.                dvips to place each section into a separate file; the
  108.                new file names are created replacing the suffix of the
  109.                supplied output file name by a three-digit sequence
  110.                number.  This option is most often used in conjunction
  111.                with the -S option which sets the maximum section
  112.                length in pages.  For instance, some phototypesetters
  113.                cannot print more than ten or so consecutive pages
  114.                before running out of steam; these options can be used
  115.                to automatically split a book into ten-page sections,
  116.                each to its own file.
  117.  
  118.           -k   Print crop marks.  This option increases the paper size
  119.                (which should be specified, either with a paper size
  120.                special or with the -T option) by a half inch in each
  121.                dimension.  It translates each page by a quarter inch
  122.                and draws cross-style crop marks.  It is mostly useful
  123.                with typesetters that can set the page size
  124.                automatically.
  125.  
  126.           -K   This option causes comments in included PostScript
  127.                graphics, font files, and headers to be removed.  This
  128.                is sometimes necessary to get around bugs in spoolers
  129.                or PostScript post-processing programs.  Specifically,
  130.                the %%Page comments,  when left in, often cause
  131.                difficulties.  Use of this flag can cause some included
  132.                graphics to fail, since the PostScript header macros
  133.                from some software packages read portions of the input
  134.                stream line by line, searching for a particular
  135.                comment.  This option has been turned off by default
  136.                because PostScript previewers and spoolers have been
  137.                getting better.
  138.  
  139.           -l num
  140.                The last page printed will be the first one numbered
  141.                num Default is the last page in the document.  If the
  142.                num is prefixed by an equals sign, then it (and any
  143.                argument to the -p option) is treated as a sequence
  144.                number, rather than a value to compare with char92
  145.                count0 values.  Thus, using -l =9 will end with the
  146.                ninth page of the document, no matter what the pages
  147.                are actually numbered.
  148.  
  149.           -m   Specify manual feed for printer.
  150.  
  151.           -M   Turns off the automatic font generation facility.  If
  152.                any fonts are missing, commands to generate the fonts
  153.                are appended to the file missfont.log in the current
  154.                directory; this file can then be executed and deleted
  155.                to create the missing fonts.
  156.  
  157.           -n num
  158.                At most num pages will be printed. Default is 100000.
  159.  
  160.           -N   Turns off structured comments; this might be necessary
  161.                on some systems that try to interpret PostScript
  162.                comments in weird ways, or on some PostScript printers.
  163.                Old versions of TranScript in particular cannot handle
  164.                modern Encapsulated PostScript.
  165.  
  166.           -o name
  167.                The output will be sent to file name If no file name is
  168.                given, the default name is file.ps where the .dvi file
  169.                was called file.dvi; if this option isn't given, any
  170.                default in the configuration file is used.
  171.  
  172.           -O offset
  173.                Move the origin by a certain amount.  The offset is a
  174.                comma-separated pair of dimensions, such as .1in,-.3cm
  175.                (in the same syntax used in the papersize special).
  176.                The origin of the page is shifted from the default
  177.                position (of one inch down, one inch to the right from
  178.                the upper left corner of the paper) by this amount.
  179.  
  180.           -p num
  181.                The first page printed will be the first one numbered
  182.                num. Default is the first page in the document.  If the
  183.                num is prefixed by an equals sign, then it (and any
  184.                argument to the -l option) is treated as a sequence
  185.                number, rather than a value to compare with char92
  186.                count0 values.  Thus, using -p =3 will start with the
  187.                third page of the document, no matter what the pages
  188.                are actually numbered.
  189.  
  190.           -pp pagelist
  191.                A comma-separated list of pages and ranges (a-b) may be
  192.                given, which will be interpreted as char92 count0
  193.                values.  Pages not specified will not be printed.
  194.                Multiple -pp options may be specified or all pages and
  195.                page ranges can be specified with one -pp option.
  196.  
  197.           -P printername
  198.                Sets up the output for the appropriate printer.  This
  199.                is implemented by reading in config.printername, which
  200.                can then set font paths and any other config.ps
  201.                defaults for that printer only.  Note that config.ps is
  202.                read before config.printername.
  203.  
  204.           -q   Run in quiet mode.  Don't chatter about pages
  205.                converted, etc.; report nothing but errors to standard
  206.                error.
  207.  
  208.           -r   Stack pages in reverse order.  Normally, page 1 will be
  209.                printed first.
  210.  
  211.           -s   Causes the entire global output to be enclosed in a
  212.                save/restore pair.  This causes the file to not be
  213.                truly conformant, and is thus not recommended, but is
  214.                useful if you are driving the printer directly and
  215.                don't care too much about the portability of the
  216.                output.
  217.  
  218.           -S num
  219.                Set the maximum number of pages in each `section'.
  220.                This option is most commonly used with the -i option;
  221.                see that documentation above for more information.
  222.  
  223.           -t papertype
  224.                This sets the paper type to papertype. The papertype
  225.                should be defined in one the appropriate code to select
  226.                it.  (Currently known types include letter, legal,
  227.                ledger, a4, a3, ) You can also specify -t landscape,
  228.                which rotates a document by 90 degrees.  To rotate a
  229.                document whose size is not letter, you can use the -t
  230.                option twice, once for the page size, and once for
  231.                landscape.  The upper left corner of each page in the
  232.                .dvi file is placed one inch from the left and one inch
  233.                from the top.  Use of this option is highly dependent
  234.                on the configuration file.  Note that executing the
  235.                letter or a4 or other PostScript operators cause the
  236.                document to be nonconforming and can cause it not to
  237.                print on certain printers, so the paper size should not
  238.                execute such an operator if at all possible.
  239.  
  240.           -T offset
  241.                Set the paper size to the given pair of dimensions.
  242.                This option takes its arguments in the same style as -
  243.                O. It overrides any paper size special in the dvi file.
  244.  
  245.           -U   Disable a PostScript virtual memory saving optimization
  246.                that stores the character metric information in the
  247.                same string that is used to store the bitmap
  248.                information.  This is only necessary when driving the
  249.                Xerox 4045 PostScript interpreter.  It is caused by a
  250.                bug in that interpreter that results in `garbage' on
  251.                the bottom of each character.  Not recommended unless
  252.                you must drive this printer.
  253.  
  254.           -x num
  255.                Set the magnification ratio to num /1000. Overrides the
  256.                magnification specified in the .dvi file.  Must be
  257.                between 10 and 100000.
  258.  
  259.           -X num
  260.                Set the horizontal resolution in dots per inch to num.
  261.  
  262.           -Y num
  263.                Set the vertical resolution in dots per inch to num.
  264.  
  265.           -Z   Causes bitmapped fonts to be compressed before they are
  266.                downloaded, thereby reducing the size of the PostScript
  267.                font-downloading information.  Especially useful at
  268.                high resolutions or when very large fonts are used.
  269.                Will slow down printing somewhat, especially on early
  270.                68000-based PostScript printers.
  271.  
  272.      NOTES
  273.           PostScript is a registered trademark of Adobe Systems
  274.           Incorporated.
  275.  
  276.      AUTHOR
  277.           Tomas Rokicki <rokicki@cs.stanford.edu>; extended to virtual
  278.           fonts by Don Knuth.
  279.  
  280.  
  281.